package com.hqd.ch03.v29.tx.transaction.interceptor;

import java.lang.reflect.Method;

public interface TransactionAttributeSource {
    default boolean isCandidateClass(Class<?> targetClass) {
        return true;
    }

    TransactionAttribute getTransactionAttribute(Method method, Class<?> targetClass);
}
